package com.zoey.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author GSX
 * @since 2023-06-18 07:00:34
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("students")
@ApiModel(value = "StudentsPO对象", description = "")
public class StudentsPO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("name")
    private String name;

    @TableField("sex")
    private Integer sex;

    @TableField("email")
    private String email;

    @TableField("class_id")
    private Integer classId;

    @TableField("enrollment_date")
    private Date enrollmentDate;
}
